
//###########################################################################
//
// FILE:    Define.h
//
// TITLE:   DaeKang Mouse Port Define header file.
//
//###########################################################################
// $Release Date: 2007.7.1 $
//###########################################################################

#ifndef __Define_H__
#define __Define_H__
/*
#define SW_C		(GpioDataRegs.GPADAT.bit.GPIO7)
#define SW_R		(GpioDataRegs.GPADAT.bit.GPIO8)
#define SW_L			(GpioDataRegs.GPADAT.bit.GPIO9)

#define LED0_ON		(GpioDataRegs.GPACLEAR.bit.GPIO6 = 1)
#define LED1_ON		(GpioDataRegs.GPACLEAR.bit.GPIO22 = 1)
#define LED2_ON		(GpioDataRegs.GPACLEAR.bit.GPIO11 = 1)
#define LED3_ON		(GpioDataRegs.GPACLEAR.bit.GPIO10 = 1)

#define LED0_OFF	(GpioDataRegs.GPASET.bit.GPIO6 = 1)
#define LED1_OFF	(GpioDataRegs.GPASET.bit.GPIO22 = 1)
#define LED2_OFF	(GpioDataRegs.GPASET.bit.GPIO11 = 1)
#define LED3_OFF	(GpioDataRegs.GPASET.bit.GPIO10 = 1)

#define Sen_LF_ON	(GpioDataRegs.GPASET.bit.GPIO13 = 1)
#define Sen_LS_ON	(GpioDataRegs.GPASET.bit.GPIO12 = 1)
#define Sen_L45_ON	(GpioDataRegs.GPASET.bit.GPIO30 = 1)
#define Sen_RF_ON	(GpioDataRegs.GPASET.bit.GPIO15 = 1)
#define Sen_RS_ON	(GpioDataRegs.GPASET.bit.GPIO14 = 1)
#define Sen_R45_ON	(GpioDataRegs.GPASET.bit.GPIO31 = 1)

#define Sen_LF_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO13 = 1)
#define Sen_LS_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO12 = 1)
#define Sen_L45_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO30 = 1)
#define Sen_RF_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO15 = 1)
#define Sen_RS_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO14 = 1)
#define Sen_R45_OFF	(GpioDataRegs.GPACLEAR.bit.GPIO31 = 1)
*/
//#define BUZZ_ON			(GpioDataRegs.GPASET.bit.GPIO5 = 1)
//#define BUZZ_OFF		(GpioDataRegs.GPACLEAR.bit.GPIO5 = 1)

#endif

